using System;
using System.Reflection;

namespace AirWeb.Support
{
	/// <summary>
	/// Summary description for VersionManager.
	/// </summary>
	public class VersionManager
	{
		private VersionManager()
		{}

		/// <summary>
		/// String representation of the version of the Assembly
		/// </summary>
		public static string ApplcationVersion
		{
			get
			{
				AssemblyName main = Assembly.GetCallingAssembly().GetName();
				return main.Version.Major.ToString() + "." + main.Version.Minor.ToString();
			}
		}
	}
}
